#-*- coding: utf-8 -*-
#@File    : handle_path.py
#@Time    : 2022/8/14 9:28
#@Author  : xintian
#@Email   : 1730588479@qq.com
#@Software: PyCharm
#Date:2022/8/14 
import os
#当前文件路径
# print(__file__)
# #2.上一层目录
# print(os.path.dirname(__file__))
# #2.上上一层目录
# print(os.path.dirname(os.path.dirname(__file__)))
#os.path.abspath   获取完整路径
project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# print('工程路径--->',project_path)
#3.配置文件路径
config_path = os.path.join(project_path,'configs')
#4.
data_path = os.path.join(project_path,'data')
report_path = os.path.join(project_path,r'outFiles/report/tmp')
log_path = os.path.join(project_path,r'outFiles/logs')